import { isDevMode } from '/@/utils/env';

export const TITLE = 'Vue+AntDesign管理平台';
// token key
export const TOKEN_KEY = 'TOKEN';
// rememberMe key
export const REMEMBERME_KEY = 'REMEMBERME';
// user info key
export const USER_INFO_KEY = 'USERINFO';

// aes encryption key
export const cacheCipher = {
  key: '_11111000001111@',
  iv: '@11111000001111_',
};

// System default cache time, in seconds
export const DEFAULT_CACHE_TIME = 60 * 60 * 24 * 7;

// Whether the system cache is encrypted using aes
export const enableStorageEncryption = !isDevMode();
